home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: bath.ac.uk!uwe-bristol!teapot!jp-morri
- From: jp-morri@csm.uwe.ac.uk (J Morris)
- Subject: Re: DPMI mode Hangs it?
- Message-ID: <1996Feb19.084939.7870@pat.uwe.ac.uk>
- To: Steve Snively <snively9@starnetinc.com>
- Sender: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Nntp-Posting-Host: usenet@pat.uwe.ac.uk (uwe nntp usenet poster)
- Organization: University of the West of England.
- X-Newsreader: xrn 7.04-beta-2
- References: <3126E0BD.9A@starnetinc.com>
- Date: Mon, 19 Feb 1996 08:49:39 GMT
-
- In article <3126E0BD.9A@starnetinc.com>, Steve Snively <snively9@starnetinc.com> writes:
- > I recently started a project in which I needed to access Extended
- > Memory, and so I found some ASM to access the functions of HIMEM.SYS.
- > Well, heres my problem, when working in the design window (Borland Turbo
- > C++) and i go to run, the program hangs. But if I run the same EXE I
- > just compiled right from DOS it works fine. I believe that TC runs in
- > DPMI, ie: protected mode, and this may be the source of my problems.
- > Does anyone know a way of running the Borland Turbo C++ design
- > environment in real mode, via a switch or something, without reverting to
- > command line stuff?
- > Perhaps a different version supports this?
- >
-
- Borland version 2 had two programs: BC (rm) and BCX (pm).
- I suppose you're using version 3.
-
- I suppose this is obvious, but you are using the XMS properly, aren't you?
- If you're playing with the XMS directly and not allocating it properly,
- you'll probably end up twisting the compilers guts around and it won't like
- that.
-
- DOS, on the other hand wouldn't notice.
-
- To eliminate this possiblity, try running the program under other protected
- mode environments, like Windows.
-
- > Thanks for any assistance you could provide. Steve.
- > Snively9@starnetinc.com
-
- --
- *****************************************************************************
- *J.P Morris, IT-HE Software * jp-morri@csm.uwe.ac.uk * NOT a UWE spokeman *
- *****************************************************************************
-
-
-
-
-
-